package com.imcrl.component.itemRender
{
	import com.imcrl.manager.Pool;
	
	import starling.display.Sprite;

	
	/**
	 * 
	 * @author crl
	 * 
	 */	
	public class ListItemRender extends Sprite implements IListItemRender
	{
		private var _index:int;
		protected var _chooseState:int;
		protected var _data:*;
		protected var _pool:Pool;
		public function ListItemRender()
		{
			super();
		}
		
		public function set index(value:int):void{
			_index=value;
		}
		public function get index():int{
			return _index;
		}
		
		public function get chooseState():int
		{
			return _chooseState;
		}
		
		public function set chooseState(value:int):void
		{
		 	_chooseState=value;
		}
		
		public function awaken():void
		{
		}
		
		public function sleep():void
		{
		}
		
		override public function dispose():void
		{
			super.dispose();
			_pool=null;
		}
		
		public function set pool(value:Pool):void{
			_pool=value;
		}
		
		public function get data():*
		{
			return _data;
		}
		
		public function set data(value:*):void
		{
			_data=value;
		}
	}
}